<!DOCTYPE html>
<html lang="en">

<head>
	<{include file="header.html" }>
		<title>请假管理-
			<{$user_data[ 'school_name']}>-德安信会计在线教育平台</title>
</head>

<body>
	<div class="wrap">
		<!--star left-->
		<div class="column">
			<{include file="left_menu.html" }>
		</div>
		<div id="ContMianBox">
			
			<!--star子栏目-->
			<div class="sub-colum">
                <div class="tit"><{$left_menu_min.menu}></div>
                <ul>
                    <{foreach from=$left_menu_min.list item=item}>
                    <li <{if $item['url'] == $left_menu_min.curr}>class="curr"<{/if}>><a href="<{$item['url']}>"><{$item['name']}></a></li>
                    <{/foreach}>
                </ul>
            </div>
			<!--end子栏目-->
			
			<!--end left-->
			<div class="container narrow">
				<!--star conter-->
				<div class="cetContent">
					<div class="tit p-lr20">
						<span ><a href="/chuqin/today_class">今日上课</a></span>
						<span ><a href="/chuqin/today_signin">今日签到</a></span>
						<span class="curr">请假管理</span>
						<span ><a href="/chuqin/change_list">异动管理</a></span>
					</div>

					<!--star内容区域-->
					<div class="mainScroll">
						<div class="mainContainer line-all">
							<!--star tabMainCont-->
							<div class="tabMainCont">
								<fieldset class="layui-elem-field">
									<legend>筛选</legend>
									<div class="layui-field-box">
										<form class="layui-form layui-form-pane1" method="post" action="/chuqin/leave_list">
											<div class="layui-form-item">

												<div class="layui-inline">
													<label class="layui-form-label">学员姓名</label>
													<div class="layui-input-inline">
														<input type="text" name="student" placeholder="学员姓名" style="width: 300px;" autocomplete="off" <{if !empty($conditions.student)}>value="<{$conditions.student}>"<{/if}> class="layui-input">
													</div>
												</div>

											</div>
											<div class="layui-form-item">
												<label class="layui-form-label"></label>
												<div class="layui-inline">
													<button type="submit" class="layui-btn">搜索</button>
													<a class="layui-btn" href="/chuqin/leave_add"><i class="layui-icon"></i> 添加请假记录</a>
												</div>
											</div>
										</form>
									</div>
								</fieldset>
								
								<!--商品列表 star-->
								<div class="goods_list p-t10">
									<div class="mtc_tab">
										<!--star mt-->
										<div class="mt">
											<!-- <span class="l fs16">状态：</span> -->
											<a href="javascript:;" class="curr">全部</a>
											

										</div>
										<!--end mt-->
										<!--star mc-->
										<div class="mc">

											<div class="u_table_list m-t20">
												<!--star 商品-->
												<div class="table002">
													<table class="layui-table" lay-skin="line">
														<colgroup>
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															
															
														</colgroup>
														<tbody>
															<tr>
																<th>学员姓名</th>
																<th>班级</th>
																<th>校区</th>
																<th>请假开始时间</th>
																<th>请假结束时间</th>
																
																<th>备注</th>
																<th>记录时间</th>
																<th>操作</th>

															</tr>
														</tbody>
														<tbody>
															<{foreach from=$leave_list item=item}>
																<tr>
																	<td class="not_lb tal">
																		<{$item[ 'student_name']}>
																	</td>
																	<td class="not_lb tal">
																	<a href="/classes/detail/<{$item['class_id']}>">
																	<{$item[ 'class_name']}>
																	</a>
																	</td>
																	<td class="not_lb tal">
																		<{$item[ 'campus_name']}>
																	</td>
																	<td class="not_lb tal">
																	<{$item[ 'start_date']|date_format: '%Y-%m-%d'}>
																	</td>
																	<td class="not_lb tal">
																	<{$item[ 'end_date']|date_format: '%Y-%m-%d'}>
																	</td>
																	<td class="not_lb tal">
																	<{$item['remark']}>
																	</td>
																	<td class="not_lb tal">
																	<{$item[ 'add_time']|date_format: '%Y-%m-%d %H:%M'}>
																		
																	</td>
																	
																	<td class="not_lb tal">
																		<a href="/chuqin/delete_leave/<{$item[ 'id']}>">删除</a>
																	</td>
																</tr>
																<{/foreach}>
														</tbody>
													</table>
												</div>
												<!--end 商品-->
											</div>
											<div class="pages p-tb20" style="text-align:right;">
												<{$pagination}>
											</div>
										</div>
										<!--end mc-->
									</div>

								</div>
								<!--商品列表 end -->
							</div>
							<!--end tabMainCont-->
						</div>

					</div>
				</div>
				<!--end内容区域-->

				<!--end conter-->
			</div>


		</div>
	</div>
	<{include file="footer.html"}>
</body>

</html>
